 $(document).ready(function(){
                $('.newWindow').click(function (event){
                    var url = $(this).attr("href");
                    var windowName = "popUp";$(this).attr("name");
                    var winw = 600;
                    var winh = 400;
                    var winleft = (screen.width/2)-(winw/2);
                    var wintop = (screen.height/2)-(winh/2);
                    return!window.open(url, windowName, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=yes, copyhistory=no, width='+winw+', height='+winh+', top='+wintop+', left='+winleft);                   
                    window.open(url, windowName, windowSize);
                });
            });